LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AddUserInformation(Byte,Byte[]) Method
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class > AddUserInformation Method : AddUserInformation(Byte,Byte[]) Method



type
Type of the User-defined item.
data
Buffer that contains the data for the User-defined item.
type
Type of the User-defined item.
data
Buffer that contains the data for the User-defined item.
Appends a User-defined item to the DICOM Associate.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub AddUserInformation( _
   ByVal type As Byte, _
   ByVal data() As Byte _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim type As Byte
Dim data() As Byte
 
instance.AddUserInformation(type, data)
C# 
public void AddUserInformation( 
   byte type,
   byte[] data
)
C++/CLI 
public:
void AddUserInformation( 
   byte type,
   array<byte>^ data
) 

Parameters

type
Type of the User-defined item.
data
Buffer that contains the data for the User-defined item.

Example

For an example, refer to DicomAssociate.IsRoleSelect.

Remarks

User-defined items may be included in the DICOM Associate to provide any other data the user finds necessary when establishing a DICOM Associate connection. The basic structure of the User-defined item is

where the Type, Length and User Data are all determined by the user. The values shown are the lengths, in bytes, of the elements of the User-defined item.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features